/**
 * 
 */
package co.edu.eam.iso.enums;

/**
 * @author Giovanny Ramirez Blandon
 * @version 1.0
 */
public enum IconEnum {

	ADD     ("Add.png"), 
	CREATE  ("Create.png"), 
	DELETE  ("Delete.png"), 
	MODIFY  ("Modify.png"), 
	REMOVE  ("Remove.png"), 
	SELECT  ("Select.png"),
	RESTORE ("Restore.png"),
	CROSS   ("Cross.png"),
	TICK    ("Tick.png"),
	WARN	("Warn.png"),
	VIEW    ("View.png"),
	UPLOAD	("Upload.png");
	
	private static final String COMMON_LOCATION = "/co/edu/eam/iso/view/icons/";

	private String name;

	private IconEnum(String name) {
		this.name = name;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	public String getLocation() {
		return COMMON_LOCATION + this.name;
	}

}
